package huang.competition072;

public class Seller {
		Shop seller=new Shop();
		//商户添加商品功能
		void addGoods(String category,int unitPrice,int numbers,String function){
			seller.setCategory(category);
			seller.setUnitPrice(unitPrice);
			seller.setNumbers(numbers);
			seller.setFunction(function);
			System.out.print("添加商品成功：");
			System.out.println("添加了"+seller.getCategory()+",单价为"+seller.getUnitPrice()+"元,数量为"+seller.getNumbers()
			+"件,功能为"+seller.getFunction());
		}
}
